"""
URL configuration for StudentV4BE project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from . import views  # 注意这里的导入方式，确保它不会引起循环导入
from django.conf import settings
from django.conf.urls.static import static


urlpatterns = [
    path("allif/", views.all_student_if),
    # path('login/', views.login),
    path('head_name/', views.head_name),
    path('view_award/',views.view_award),
    path('update_person/', views.person_update),
    path('update_other/', views.other_update),
    path('update_family/', views.family_update),
    path('update_password/', views.password_update),
    path('update_mb/', views.mb_update),
    path('load_mb/', views.load_mb),
    path('forget_password/', views.pwd_fg),
    path('mb_verify/', views.verify_mb),
    path('view_fdy/', views.student_view_fdy),

#     请假功能
    path('view_my_leave/', views.my_leave_record),
    path('view_my_exa/', views.s_get_all_the_exa),
    path('view_my_gra/', views.student_view_my_gra),

]